package com.carlo.bean;

/**
 * 
* @ClassName: MailFilter 
* @Description: 邮件过滤条件类
* @author carlo
* @date 2018年2月24日 下午5:38:38
 */
public class MailFilter {
	
	private String subjectKeyWord      = "";       	//标题关键字
	private boolean isSubjectAdv	   = false;    	//标题启用正则匹配
	private String bodyKeyWord         = "";       	//正文关键字
	private boolean isBodyAdv		   = false;    	//正文启用正则匹配
	private String attachmentKeyWord   = "";       	//附件关键字
	private boolean isAttachmAdv       = false;    	//附件关键字正则匹配
	private String attachmentFileType  = "";       	//附件文件类型
	
	
	
	public MailFilter() {}
	

	public MailFilter(String subjectKeyWord,String bodyKeyWord,  String attachmentKeyWord,String attachmentFileType) {
		this.subjectKeyWord = subjectKeyWord;
		this.bodyKeyWord = bodyKeyWord;
		this.attachmentKeyWord = attachmentKeyWord;
		this.attachmentFileType = attachmentFileType;
	}


	public String getSubjectKeyWord() {
		return subjectKeyWord;
	}
	public void setSubjectKeyWord(String subjectKeyWord) {
		this.subjectKeyWord = subjectKeyWord;
	}
	public boolean isSubjectAdv() {
		return isSubjectAdv;
	}
	public void setSubjectAdv(boolean isSubjectAdv) {
		this.isSubjectAdv = isSubjectAdv;
	}
	public String getBodyKeyWord() {
		return bodyKeyWord;
	}
	public void setBodyKeyWord(String bodyKeyWord) {
		this.bodyKeyWord = bodyKeyWord;
	}
	public boolean isBodyAdv() {
		return isBodyAdv;
	}
	public void setBodyAdv(boolean isBodyAdv) {
		this.isBodyAdv = isBodyAdv;
	}
	public String getAttachmentKeyWord() {
		return attachmentKeyWord;
	}
	public void setAttachmentKeyWord(String attachmentKeyWord) {
		this.attachmentKeyWord = attachmentKeyWord;
	}
	public String getAttachmentFileType() {
		return attachmentFileType;
	}
	public void setAttachmentFileType(String attachmentFileType) {
		this.attachmentFileType = attachmentFileType;
	}
	public boolean isAttachmAdv() {
		return isAttachmAdv;
	}
	public void setAttachmAdv(boolean isAttachmAdv) {
		this.isAttachmAdv = isAttachmAdv;
	}
	
	
}
